#ifndef ELK_CEF_TYPES_FROM_H
#define ELK_CEF_TYPES_FROM_H

#include "elk_web_delegate.h"
#include "include/cef_client.h"

class ElkCefTypesFrom
{
public:
    static QString requestFlags(cef_urlrequest_flags_t flags);
    static QString resourceType(cef_resource_type_t type);
    static QString transitionType(cef_transition_type_t type);

    static QString contextMenuType(cef_context_menu_type_flags_t flags);
    static QString contextMenuMediaType(cef_context_menu_media_type_t type);

    static void fromRequest(CefRefPtr<CefRequest> request, ElkRequestDetails &details);
};

#endif // ELK_CEF_TYPES_FROM_H
